/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package plar.Elements;

/**
 *
 * @author spok
 */
import java.awt.Point;
import plar.*;

public class Gun extends Platform{

     public Gun(Point pos)
     {
          super(pos);
          setSize(16,13);
          getAction("show").setSprites(new Sprites(new Sprite("gun.png")));
          actions.put("shoot",new plar.Actions.Shoot(this));
          properties.put("shoot",new plar.Properties.MoveElements());
     }
}
